Skip to content

feat(taskprocessing): Add queue_stats API endpoint for external autoscalers#58376

Draft
oleksandr-nc wants to merge 1 commit intomasterfrom
feat/taskprocessing/keda-autoscaler
Draft

feat(taskprocessing): Add queue_stats API endpoint for external autoscalers#58376
oleksandr-nc wants to merge 1 commit intomasterfrom
feat/taskprocessing/keda-autoscaler

Conversation

@oleksandr-nc
Copy link
Contributor

Summary

This is a new admin-only OCS endpoint (GET /taskprocessing/queue_stats) that returns the count of scheduled and running tasks, designed for KEDA and similar external scalers to poll for queue depth.

TODO

  • Finish design
  • Test with LLM2 and ContextChat
  • Fix bugs
  • Add tests

Checklist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments